package com.kiss.rpc.serialize;

import java.io.IOException;

public interface Serializer {
    byte[] serialize(Object obj);
    <T> T deserialize(byte[] bytes, Class<T> clazz);
}
